<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>addorupdatesysUsr</title>
</head>
<body>
	<c:if test="${sysRole.id==null }">
		<div>添加角色</div>
	</c:if>
	<c:if test="${sysRole.id!=null }">
		<div>修改角色</div>
	</c:if>
	<form action="addrole" method="post">
		<table>
			<tr>
				<td>角色名：</td>
				<td>
				<input type="text" name="roleName" value="${sysRole.roleName }"/>
				<input type="hidden" name="id" value="${sysRole.id }">
				</td>
			</tr>
			<tr>
				<td>备注：</td>
				<td><input type="text" name="memo" value="${sysRole.memo }"/></td>
			</tr>
			<tr><td><input type="submit" value="提交"/></td></tr>
		</table>
	</form>
</body>
</html>